package com.ec.bean;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import com.ec.core.annotation.Table;
import com.ec.core.annotation.Field;

@Table(name = "t_directory")
public class Directory implements java.io.Serializable {

	private int ID;
	private String dirName;
	private String orgCode;
	private int parentId;
	private int status;
	private int priority;
	private Date createTime;

	public Directory() {

	}

	@Field(name = "ID", pk = true)
	public int getID() {
		return ID;
	}

	public void setID(int id) {
		ID = id;
	}

	@Field(name = "Dirname")
	public String getDirName() {
		return dirName;
	}

	public void setDirName(String dirName) {
		this.dirName = dirName;
	}

	@Field(name = "Parentid")
	public int getParentId() {
		return parentId;
	}

	public void setParentId(int parentId) {
		this.parentId = parentId;
	}

	@Field(name = "Status")
	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	@Field(name = "Createtime")
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	@Field(name="orgcode")
	public String getOrgCode() {
		return orgCode;
	}

	public void setOrgCode(String orgCode) {
		this.orgCode = orgCode;
	}
	@Field(name="priority")
	public int getPriority() {
		return priority;
	}

	public void setPriority(int priority) {
		this.priority = priority;
	}
}
